package com.zhan.utils.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class BaseEntity implements java.io.Serializable {
    private static final long serialVersionUID = -2472048460604090619L;

    @ApiModelProperty("主键")
    private Long id;
    @ApiModelProperty("创建时间")
    private Date createTime;
    @ApiModelProperty("创建人id")
    private Long createUserId;
    @ApiModelProperty("修改人id")
    private Long updateUserId;
    @ApiModelProperty("修改时间")
    private Date updateTime;
    @ApiModelProperty(value = "删除标识", allowableValues = "0,1", hidden = true)
    private Integer isDelete = 0;
    @ApiModelProperty("删除人id")
    private Long deleteUserId;
    @ApiModelProperty("删除时间")
    private Date deleteTime;

}
